package com.itheima.pattern.visitor.fenpai;

public class DynamicTest {
    public static void main(String[] args) {
        Animal dog = new Dog();
        dog.execute();


        Animal cat = new Cat();
        cat.execute();
    }
}
